package com.example.myfirstapplication.fragment

import android.os.Bundle
import android.util.Log
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import android.widget.TextView
import androidx.fragment.app.Fragment
import com.example.myfirstapplication.R
import com.example.myfirstapplication.utils.Tag

class HomeFragment : Fragment() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        Log.i(Tag, "HomeFragment:onCreate")
    }

    override fun onCreateView(
        inflater: LayoutInflater,
        container: ViewGroup?,
        savedInstanceState: Bundle?
    ): View? {
        // Inflate the layout for this fragment
        Log.i(Tag, "HomeFragment:onCreateView")
        super.onCreateView(inflater, container, savedInstanceState)
        val v: View = inflater.inflate(R.layout.home_fragment_layout, container, false)
        return v
    }
}